<style type="text/css">
	.count-num .layui-col-md3 {
		height: 120px;
		text-align: left;
	}
	
	.count-num .layui-col-md3 div {
		position: relative;
		height: 80px;
		border-radius: 5px;
		padding-left: 5%;
		padding-top: 10px;
	}
	
	.count-num .layui-col-md3 div span {
		font-size: 40px;
		vertical-align: middle;
		position: absolute;
		width: 90%;
		display: block;
		text-align: center;
	}
	.art-title{
		color: #333333;
	}
	.notice-list:first-child .art-title{
		color: #ff6600;
	}
</style>
<div class="layui-container" style="width: 100%;">
	<div class="layui-row layui-col-space20 count-num">
		<div class="layui-col-md3">
			<div class="layui-bg-red product-num">
				产品总数：<span>0</span>
			</div>
	
		</div>
		<div class="layui-col-md3">
			<div class="layui-bg-orange order-price-sum">
				订单金额：<span>0</span>
			</div>
		</div>
		<div class="layui-col-md3">
			<div class="layui-bg-cyan order-num">
				订单数量：<span>0</span>
			</div>
		</div>
		<div class="layui-col-md3">
			<div class="layui-bg-blue member-num">
				会员数量：<span>0</span>
			</div>
		</div>
	</div>
	<div class="layui-row">
		<div class="layui-col-md4">
			<div style="font-size: 18px; padding-bottom: 20px;font-weight: 600;">网站公告</div>
			<div style="height: 420px;">
				{volist name="get_art" id="list"}
				<div class="notice-list" style="display: flex; justify-content: space-between; line-height: 32px; border-bottom: 1px dotted #cccccc; cursor: pointer; padding-left:10px;padding-right: 10px;" data-id="{$list.article_id}">
					<div class="art-title">+ {$list.article_name}</div>
					<div style="color: #999999;">{$list.create_time}</div>
				</div>
				{/volist}
			</div>
		</div>
		<div class="layui-col-md8" style="display:none;">
			<div style="font-size: 18px; padding-bottom: 20px;font-weight: 600; margin-left: 20px;">本轮京东价格比对结果</div>
			<div style="height: 420px; overflow-y: auto; margin-left: 20px;">
				<table width="100%" border="1">
					<thead align="center">
						<th width="70%">商品名称</th>
						<th width="10%">原始价格</th>
						<th width="10%">新价格</th>
						<th width="10%"></th>
					</thead>
					<tbody align="center">
						{volist name="jdprice" id="list"}
						<tr><td align="left">{$list.goods_name}</td><td>{$list.old_price}</td><td style="color: #FF6600;">{$list.new_price}</td><td align="center" style="cursor: pointer;"><a class="tap-nav" data-id="edit_goods_{$list.goods_sku}" data-url="{:url('goods/tplForm')}?goods_sku={$list.goods_sku}" href="javascript:">修改商品</a></td></tr>
						{/volist}
					</tbody>
				</table>
				<div style="display: none;">后台定时执行地址：http://manage.utecbj.com/supplier/buildtpl/comJdPrice</div>
			</div>
		</div>
	</div>
	{if condition="menuAuth('index_count')"} 

	<div class="layui-row" style="margin-top: 50px;">

		<div class="layui-col-md6">
			<div id="echarts_order_money" style="height: 400px;">

			</div>
		</div>
		<div class="layui-col-md6">
			<div id="echarts_goods_category" style="height: 400px;">

			</div>
		</div>
		<div class="layui-col-md6">
			<div id="echarts_member" style="height: 400px;">

			</div>
		</div>
		<div class="layui-col-md6">
			<div id="echarts_up_goods" style="height: 400px;">
		
			</div>
		</div>
	</div>
{/if}
	
	
</div>
<script type="text/javascript">
	var count_site_goods_uri = "{:url('index/countSiteGoods')}",
		count_order_num_and_money_url = "{:url('index/countOrderNumAndMoney')}",
		count_category_goods_uri = "{:url('index/countCategoryGoods')}",
		count_site_order_uri = "{:url('index/countSiteOrder')}",
		count_member_uri = "{:url('index/countMember')}",
		count_goods_top20 = "{:url('index/countGoodsTop20')}",
		count_site_order_list_uri = "{:url('index/countSiteOrderList')}",
		count_year_order_money_url = "{:url('index/countYearOrderMoney')}",
		count_user_active_url = "{:url('index/countUserActive')}",
		count_up_goods_url = "{:url('index/countUpGoods')}",
		count_cate_sale_url = "{:url('index/countCateSale')}",
		article_uri = "{:url('index/artdetail')}";
	$.getScript('/static/echarts/echarts.min.js', function() {
		$.getScript('/static/js/index/count.js');
	});
</script>
